from bs4 import BeautifulSoup
if __name__ == '__main__':
    # 将本地的html文档中的数据加载到该对象中
    fp = open('./张晓波.html', 'r', encoding='utf-8')
    # 实例化对象
    soup = BeautifulSoup(fp, 'lxml')
    # soup.tagName 返回的是文档中第一次出现的tagName对应的标签
    print(soup.select())
